package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.CheckItem;

public interface CheckItemDao {
    //新增
    public void add(CheckItem checkItem);
    //分页查询
    public Page<CheckItem> selectByCondition(String queryString);
    //根据id查询数量
    public long findCountByCheckItemId(Integer id);
    //根据id删除
    public void deleteById(Integer id);
    //编辑
    public void edit(CheckItem checkItem);
    public CheckItem findById(Integer id);
}
